Skip to content

feat: add dependabot auto-merge workflow#36

Merged
molvqingtai merged 4 commits intomasterfrom
copilot/add-dependabot-automerge-workflow
Jan 29, 2026
Merged

feat: add dependabot auto-merge workflow#36
molvqingtai merged 4 commits intomasterfrom
copilot/add-dependabot-automerge-workflow

Conversation

Copy link
Contributor

Copilot AI commented Jan 29, 2026

Automates merging of Dependabot PRs for minor and patch version updates after CI passes.

Implementation

  • New workflow: .github/workflows/dependabot-auto-merge.yml
  • Triggers on PRs to develop and master branches from dependabot[bot]
  • Uses dependabot/fetch-metadata@v2.2.0 to determine update type
  • Enables auto-merge for semver-minor and semver-patch updates only
  • Squash merge strategy to maintain clean history

Workflow Logic

- if: |
    steps.metadata.outputs.update-type == 'version-update:semver-minor' ||
    steps.metadata.outputs.update-type == 'version-update:semver-patch'
  run: gh pr merge --auto --squash "$PR_URL"

Major version updates remain manual to prevent breaking changes. GitHub's auto-merge waits for required status checks before merging.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits January 29, 2026 04:03
Co-authored-by: molvqingtai <26295698+molvqingtai@users.noreply.github.com>
Co-authored-by: molvqingtai <26295698+molvqingtai@users.noreply.github.com>
Co-authored-by: molvqingtai <26295698+molvqingtai@users.noreply.github.com>
Copilot AI changed the title [WIP] Add dependabot automerge workflow feat: add dependabot auto-merge workflow Jan 29, 2026
Copilot AI requested a review from molvqingtai January 29, 2026 04:07
@molvqingtai molvqingtai marked this pull request as ready for review January 29, 2026 04:11
@molvqingtai molvqingtai merged commit ed8fae3 into master Jan 29, 2026
5 checks passed
@molvqingtai
Copy link
Owner

🎉 This PR is included in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants